* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,body,#app {
    height: 100%;
}

body {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;
    background-color: #f3f4f7;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    display: block;
    width: 100%;
    height: 100%;
}

i {
    font-style: normal;
}

// 覆盖element样式
.el-button--primary {
    background-color: #ffc200 !important;
    border-color: #ffc200 !important;
    color: #333 !important;
}

.el-button:focus, .el-button:hover {
    background-color: #ffe7985d;
    border-color: #ffc200;
    color: #ffc200;
}

.el-button--primary:focus, .el-button--primary:hover {
    background-color: #fddd75 !important;
    border-color: #fddd75 !important;
    color: #333;
}

.el-button--primary:active {
    background-color: #ffc200 !important;
    border-color: #ffc200 !important;
    color: #333 !important;
}

.el-input__inner:focus,
.el-textarea__inner:focus,
.el-select .el-input.is-focus .el-input__inner {
    border-color: #ffc200 !important;
}

.el-select-dropdown__item.selected {
    color: #ffc200;
}

.el-textarea__inner {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;
}

.el-checkbox {
    .el-checkbox__inner::after {
        border-color: #333;
    }
    
    .el-checkbox__inner:hover {
        border-color: #ffc200 !important;
    }
    
    .el-checkbox__input.is-checked .el-checkbox__inner {
        background-color: #ffc200;
        border-color: #ffc200;
    }
}

.el-input-number {
    .el-input-number__decrease {
        border-right-color: #fbe396;
    }

    .el-input-number__increase {
        border-left-color: #fbe396;
    }

    .el-input-number__decrease,
    .el-input-number__increase {
        background-color: #fffbf0;
    }

    .el-input-number__decrease:hover, .el-input-number__increase:hover {
        color: #ffc200;
    }

    .el-input__inner {
        border-color: #fbe396;
    }

    .el-input-number__decrease:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled), .el-input-number__increase:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled) {
        border-color: #ffc200;
    }
}

.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #ffc200;
    border-color: #ffc200;
}

.el-table .has-gutter {
    color: #666;

    th {
        border-top: 1px solid #ebeef5;
        padding-left: 30px;
    }

    th:first-of-type {
        border-left: 1px solid #ebeef5;
        padding-left: 4px;
    }

    th:last-of-type {
        border-right: 1px solid #ebeef5;
    }

    th:nth-of-type(8) {
        border-right: 1px solid #ebeef5;
    }
}

.el-table .el-table__body-wrapper {
    .el-table__empty-block {
        border-left: 1px solid #ebeef5;
        border-right: 1px solid #ebeef5;
    }

    .pic {
        width: 50px;
        border-radius: 5px;
    }

    .tableColumn-status {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;

        &::before  {
            display: block;
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 100vh;
            background-color: #BDBDBD;
        }

        &.active::before {
            background-color: #1dc779;
        }
    }

    td {
      color: #333;
      padding-left: 30px;
    }

    td:first-of-type {
        border-left: 1px solid #ebeef5;
        padding-left: 0;
    }

    td:last-of-type {
        border-right: 1px solid #ebeef5;
    }
}

.el-table td.operate .cell {
  display: flex;
  justify-content: center;

  .btn {
    display: flex;
    border: 0;
    background-color: transparent;
    color: #419eff;
    margin-right: 10px;
    cursor: pointer;
  }

  .btn.red {
    color: #f56c6c;
  }

  .btn::after {
    display: block;
    content: "";
    width: 1px;
    height: 15px;
    background-color: #ebeef5;
    margin-left: 10px;
  }

  .btn:last-of-type::after {
    display: none;
  }

  .btn:last-of-type {
    margin-right: 0;
  }
}

.el-radio {
    .el-radio__inner:hover {
        border-color: #ffc200;
    }

    .el-radio__input.is-checked .el-radio__inner {
        background-color: #ffc200;
        border-color: #ffc200;

        &::after {
            background-color: #333;
        }
    }

    .el-radio__input.is-checked+.el-radio__label {
        color: #333;
    }
}

.paginate {
    text-align: center;
    margin-top: 30px;

    .el-pager li.active,
    .el-pager li:hover,
    .el-pagination button:hover {
      color: #FFC100;
    }

    .el-pagination__sizes .el-input .el-input__inner:hover,
    .el-pagination__sizes .el-input .el-input__inner:focus,
    .el-input__inner:focus {
      border-color: #FFC100;
    }
  }